package com.wuye.model.option;

import com.wuye.model.WuyePersistable;

import javax.persistence.Entity;
import java.util.Date;

/**
 * Created by jiawenlong on 2016/8/1.
 * 问卷表
 */
@Entity
public class Questionnaire extends WuyePersistable<Long>{

    String name;
    int userNum;
    Date publishTime;
    Date endTime;
    int state;/*0:待发布;1：进行中；2：已结束*/
    long formId ;
    String depts;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUserNum() {
        return userNum;
    }

    public void setUserNum(int userNum) {
        this.userNum = userNum;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public long getFormId() {
        return formId;
    }

    public void setFormId(long formId) {
        this.formId = formId;
    }

    public String getDepts() {
        return depts;
    }

    public void setDepts(String depts) {
        this.depts = depts;
    }
}
